package com.dkd.applet.config;

/**
 * 消息队列中的主题配置
 */
public class TopicConfig {
    /**
     * 发送到售货机终端主题
     */
    public static  String getVendoutTopic(String innerCode){
        return "vm/"+innerCode+"/vendout";
    }
    /**
     * 出货结果主题（终端->服务端)
     */
    public final static String VMS_RESULT_TOPIC = "server/vms/result";
    /**
     * 支付成功向前端返回，关闭二维码弹框
     */
    public final static String PAY_SERVER_TOPIC = "server/pay";
    /**
     * 向帝可得后端发送信息(mqtt)
     */
    public final static String DKD_SERVER_TOPIC = "server/dkd";
    /**
     * 向帝可得后端发送信息(kafka)
     */
    public final static String DKD_SERVER_KAFKA_TOPIC = "server_dkd";
}
